package cn.edu.dgut.css.sai.springsecuritygiteeexperiment;


/**
 * @author Chb
 * date 2020-05-17
 */


public class CustomUserDetails{
    private String login;
    private String avatar_url;
    private String bio;

    public CustomUserDetails(String login, String avatar_url, String bio) {
        this.login = login;
        this.avatar_url = avatar_url;
        this.bio = bio;
    }

    public String getLogin() {
        return login;
    }

    public void setLogin(String login) {
        this.login = login;
    }

    public String getAvatar_url() {
        return avatar_url;
    }

    public void setAvatar_url(String avatar_url) {
        this.avatar_url = avatar_url;
    }

    public String getBio() {
        return bio;
    }

    public void setBio(String bio) {
        this.bio = bio;
    }

    @Override
    public String toString() {
        return "CustomUserDetails{" +
                "login='" + login + '\'' +
                ", avatar_url='" + avatar_url + '\'' +
                ", bio='" + bio + '\'' +
                '}';
    }
}
